package com.tuanzi.loan.business.repository.product.space;

import java.util.List;

import org.springframework.data.jpa.repository.JpaRepository;

import com.tuanzi.loan.business.entity.product.space.LoanProductSpace;
import com.tuanzi.loan.business.repository.product.space.custom.LoanProductSpaceRepositoryCustom;

public interface LoanProductSpaceRepository extends JpaRepository<LoanProductSpace, Long>, LoanProductSpaceRepositoryCustom {

	List<LoanProductSpace> findAllByType(Integer type);

	LoanProductSpace findBySpaceId(Long spaceId);
}
